package com.chaos.system.api.feign;

import com.chaos.system.api.constant.ServiceNameConstant;
import com.chaos.system.api.dto.UserDto;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * C端用户能力
 */
@FeignClient(value = ServiceNameConstant.SYSTEM_SERVICE)
public interface UserFeign {

    @PostMapping("/tUser/list.admin")
    @ApiOperation(value = "用户列表", httpMethod = "POST")
    List<UserDto> list(UserDto queryData);
}